﻿<%@ Page Title="IVR返回信息" Language="C#" MasterPageFile="~/MMhome.Master" AutoEventWireup="true"
    CodeBehind="SIVRreceive.aspx.cs" Inherits="MobileManager.SIVRreceive" %>

<%@ Register Src="~/UserControl/ProvinceListQuick.ascx" TagName="Province" TagPrefix="uc2" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script language="javascript" type="text/javascript" src="Js/UCcalendar/WdatePicker.js"></script>

    <style type="text/css">
        .divLeft
        {
            width: 165px;
            list-style: none;
            margin-left: 10px;
            margin-right: 5px;
            margin-top: 20px;
            float: left;
        }
        .divRight
        {
            float: left;
            margin-top: 10px;
            margin-right: 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="width: 100%">
        <div id="divMain" runat="server">
            <table>
                <tr>
                    <td>
                        查询条件&nbsp;&nbsp;
                    </td>
                    <td style="text-align: right;">
                        服务号码：
                    </td>
                    <td style="text-align: left;">
                        <asp:TextBox ID="txtspnum" runat="server" CssClass="txtBoxNormal" MaxLength="20"></asp:TextBox>
                    </td>
                    <td style="text-align: right;">
                        手机号：
                    </td>
                    <td style="text-align: left;">
                        <asp:TextBox ID="txtmobile" runat="server" CssClass="txtBoxNormal" MaxLength="20"></asp:TextBox>
                    </td>
                    <td style="text-align: right;">
                        省份：
                    </td>
                    <td style="text-align: left;">
                        <uc2:Province ID="txtProvince" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td style="text-align: right;">
                        创建时间From：
                    </td>
                    <td style="text-align: left;">
                        <input class="Wdate" id="inputDateFrom" name="inputDateStart" runat="server" type="text"
                            onclick="WdatePicker()" />
                    </td>
                    <td style="text-align: right;">
                        To：
                    </td>
                    <td style="text-align: left;">
                        <input class="Wdate" id="inputDateTo" name="inputDateStart" runat="server" type="text"
                            onclick="WdatePicker()" />
                    </td>
                </tr>
                <tr>
                    <td colspan="7" align="center">
                        <asp:DropDownList ID="ddlAD" runat="server">
                            <asp:ListItem Value="ASC" Text="创建时间升序"></asp:ListItem>
                            <asp:ListItem Value="DESC" Text="创建时间降序" Selected="True"></asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;&nbsp;&nbsp;
                        <asp:Button ID="btnQuery" runat="server" Text="查 询" CssClass="button_green" Width="70px"
                            OnClick="btnQuery_Click" />
                        &nbsp;&nbsp;&nbsp;
                        <asp:Button ID="btnDelete" runat="server" Text="删 除" CssClass="button_blue" Width="70px"
                            OnClick="btnDelete_Click" OnClientClick="return confirm('确定要删除？')" />
                    </td>
                </tr>
            </table>
            <br />
            <div>
                <div style="width: 50%; float: left; text-align: left; margin-left: 0px;">
                    <asp:Label ID="lbCount" runat="server"></asp:Label>
                </div>
                <div style="width: 50%; text-align: right; float: right; margin-right: 10px;">
                    <asp:Label ID="lbRnumAll" runat="server"></asp:Label>
                </div>
            </div>
            <asp:GridView ID="GVinfo" runat="server" AutoGenerateColumns="False" CssClass="reason_box"
                Font-Size="12px" CellPadding="0" BorderWidth="0px" BorderColor="#A6E1FF" Width="100%"
                AllowPaging="True" OnPageIndexChanging="GVinfo_PageIndexChanging" PageSize="20">
                <Columns>
                    <asp:TemplateField HeaderText="服务号码">
                        <ItemTemplate>
                            <asp:Label ID="lbspnum" runat="server" Text='<%# Bind("spnum") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="手机号码">
                        <ItemTemplate>
                            <asp:Label ID="lbmobile" runat="server" Text='<%# Bind("mobile") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="省份">
                        <ItemTemplate>
                            <asp:Label ID="lbProvinceName" runat="server" Text='<%# Bind("ProvinceName") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="城市">
                        <ItemTemplate>
                            <asp:Label ID="lbCityName" runat="server" Text='<%# Bind("CityName") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="开始时间">
                        <ItemTemplate>
                            <asp:Label ID="lbbegintime" runat="server" Text='<%# Bind("begintime") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="时长(分钟)">
                        <ItemTemplate>
                            <asp:Label ID="lbivrtime" runat="server" Text='<%# Bind("ivrtime") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="计费金额(分)">
                        <ItemTemplate>
                            <asp:Label ID="lbfeecode" runat="server" Text='<%# Bind("feecode") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="创建时间">
                        <ItemTemplate>
                            <asp:Label ID="lbCreateTime" runat="server" Text='<%# Bind("CreateTime") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    </asp:TemplateField>
                </Columns>
                <EmptyDataTemplate>
                    <span style="color: Red; font-weight: bold;">没有数据！</span>
                </EmptyDataTemplate>
            </asp:GridView>
            <div style="padding-top: 10px; text-align: right;">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                    PageSize="20" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页"
                    ShowBoxThreshold="999">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
    </div>
</asp:Content>
